package com.borrowed.book.book.service;

import com.borrowed.book.book.domain.SHomepageImg;
import com.borrowed.book.book.domain.SelectHomeImgInDto;
import com.borrowed.book.book.domain.UpdHomeImgStatusInDto;

import java.util.List;

public interface HomepageImgService {
    /**
     * 首页图片添加
     * @param param
     */
    public void AddHomepageImg(SHomepageImg param);
    /**
     * 首页图片更新
     */
    public void UpdateHomepageImg(SHomepageImg param);
    /**
     * 启用禁用图片
     */
    public void UpdateHomepageImgStatus(UpdHomeImgStatusInDto param);
    /**
     * 删除图片
     */
    public void deleteHomepageImg(Long id);
    /**
     * 一览查询
     */
    public List<SHomepageImg> selectHomepageImg(SelectHomeImgInDto param);
}
